home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / graphvew / dvpeg30j.arj / DVPEG.DOC next >
Text File  |  1994-01-09  |  13KB  |  370 lines

  1.           Dvpeg 3.0e - dvpeg.doc file
  2.           ---------------------------------
  3.  
  4. Use:  Dvpeg is a DOS based (286 or up) JPEG / GIF / Targa / PPM viewer
  5.     that will run under DOS, Windows, OS\2.
  6.  
  7.  
  8.   Limitations
  9.   -----------
  10.   Viewing of JPEG, some Targa and all PPM images require a 15/16/24 bit
  11.   video card for speed and image quality.  JPEG images can be viewed on
  12.   256 color modes but will take longer to decode.  Targa and PPM images
  13.   can be viewed on 256 color modes but they will be in grayscale.  If the
  14.   original image was color the red portion is used to set the brightness.
  15.  
  16.   16 color modes are supported as color or gray.  Nothing less (ie
  17.   monochrome) is supported.
  18.  
  19.  
  20.   Speed
  21.   -----
  22.   For maximum speed set the shrinking to 1:1
  23.   You can always shrink the picture after, if the panning is on.
  24.   For faster JPEGs on 16 color modes turn off the quantizing (default).
  25.   For speed on 256 or 16 color card use 1 pass quantize, no dithering
  26.      or grayscale viewing.
  27.  
  28.  
  29.   JPEG Image Quality
  30.   ------------------
  31.   Best quality for 16 & 256 color video mode JPEGs is 2 pass quantizing.
  32.   The JPEG medium/high quality switch will usually show no difference.
  33.   But the high quality setting is slightly more accurate and slower.
  34.  
  35.  
  36. To run dvpeg use:
  37.  dvpeg <file_path>\<file_mask>
  38.   ie dvpeg ..\gifs\new\*.jpg
  39.     or
  40.  dvpeg <options> <@file> <picture_file(s)>
  41.   ie dvpeg +mask *.jpg
  42.  
  43. where anything in "<>" is optional
  44.  
  45. For example using:  dvpeg +title "*This is it" stars.gif +exit
  46.   will show the picture file stars.gif with the title 'This is it',
  47.   pause for a keypress and then exit.
  48.  
  49. The @file is called a response file. DOS is limited to lines of 256
  50. characters.  If you wish to have very long files of options then you can
  51. put all of the options into a text file and simply give the viewer the
  52. name of the file.  One option per line of the response file.
  53.  
  54.  
  55. Options on the command line or response file
  56. --------------------------------------------
  57. Each option must start with one of the following characters:
  58.  
  59. ; -> start of a comment line in the response file (line is ignored)
  60. + -> turns an option on
  61. - -> turns an option off
  62. * -> the rest of this arguement is a text string (only used for the
  63.          title to be displayed or the text line; nothing else
  64. Anything else is assumed to be the a filename for viewing
  65.  
  66. For each option you must use at least the first 3 characters.
  67. For each of the lines a # symbol means that a number is expected.
  68.  
  69. NOTE:  There is a difference between response files and command line
  70. options.  For example on the command line you need double quotes around
  71. character strings while they are not required for response files.
  72.   ie on the command line: +name "*copyright message here"
  73.       or the response file: +name *copyright message here
  74.  
  75. All options require a + or - prefix.
  76.  
  77.  
  78. External Control Options (not available in the viewer)
  79. ------------------------------------------------------
  80. config    -> the name of the configuration file must follow this
  81.  
  82. clscreen    -> setup, clear the text screen and print title
  83.  
  84. notext    -> do not return to text screen when exiting DVPEG
  85.     -> this will leave the picture on the screen in graphics mode
  86.  
  87. name    -> with this you can set the name printed in the lower left corner
  88.     -> if a text string follows it will be used as the string to print
  89.     -> otherwise the file name is used
  90.     -> ie -name or +name or +name *This is the file name
  91.  
  92. title    -> this allows you to print a title to the top, center of the screen
  93.     -> if a text string follows it will be used, if there is no string
  94.     -> then the 4DOS file description is the default
  95.  
  96. controls  -> turn pause after decoding picture on/off (on = no pause)
  97.     -> this is reset to pausing after a slideshow
  98.     -> pausing means waiting for a keypress
  99.  
  100. usefiles    -> don't clear the list of files added to the slideshow list
  101.     -> this means the slideshow files will be the only ones on the
  102.     -> file list when it pops up
  103.  
  104. exit    -> this will result in an immediate exit from the viewer, it will
  105.     -> not set the text screen unless the notext option is off!
  106.  
  107.  
  108. Control Options (changable within the viewer)
  109. ---------------------------------------------
  110. nolist -> turn off the file selection list,  The user then has 3 options;
  111.      ESC to exit, RTN and N for next picture, P for previous picture.
  112.      No other options exist.
  113.  
  114. delay #  -> the delay between pictures in the slideshow
  115.  
  116. keypress -> wait for an immediate keypress
  117.  
  118. lock #  -> This will lock/unlock the viewer into using one video resolution
  119.     -> for example +lock 480 will lock it into the 640 * 480 mode for
  120.     -> all pictures, -lock will turn it off -> no number is expected
  121.  
  122. menu  -> this will turn the menu on ie where you can select the video
  123.     -> resolution and change some options like panning
  124.  
  125. beep  -> turn the end of picture beep on or off
  126.  
  127. mask  -> if + add a file mask to the list (maximum 5 currently)
  128.     -> if - then clear the list of file masks
  129.  
  130. tree -> turn file tree on/off
  131.  
  132. drives -> turn list of drives on/off
  133.  
  134. long -> toggle file list between short/long
  135.  
  136. fifty -> turn 50 line text mode on/off
  137.  
  138. clgr -> turn clear_graphics_screen_before_draw on/off
  139.  
  140. path -> set the file drive, path used by the viewer ie d:\pics\new
  141.     -> do not use a \ at the end
  142.     -> other examples:  \\gifs\new  ie hop back to the root but keep drive
  143.     ->  or ..\test\pics ie hop back one branch and add to it
  144.     ->  or pics\new  ie add to the current dir. path (don't need .\)
  145.  
  146.  
  147. Slideshow Options
  148. -----------------
  149. initshow -> initialize the slideshow and clear the list of files
  150.     -> this must be called before any slideshow files are put into
  151.     -> the list
  152.  
  153. addslide -> add a file name to the slideshow
  154.  
  155. slideshow -> start the slideshow of the given file names
  156.      -> it will exit if the user hits ESC or there is a file error
  157.      -> on a severe error the viewer may terminate
  158.      -> the continous slideshow flag is cleared upon exiting the show
  159.  
  160. continous -> if used before slideshow the show will run continously
  161.  
  162.  
  163. Viewing Options
  164. ---------------
  165. -shrink   -> turn automagic shrinking on/off (shrink to fit video mode by
  166. +shrink #    -> using 1/1, 1/2, 1/3, .. 1/6
  167.     -> if the shrinking is being turned on the it must be followed with
  168.     -> a number, 0 = automatic, anything else will lock the shrink ratio
  169.  
  170. panning    -> turn the panning ability on/off
  171.     -> this can use a lot of memory and take time
  172.     -> do not use this when doing a slideshow since the user can not
  173.     -> (currently) do any panning or adjust any controls
  174.  
  175.  
  176. JPEG Options
  177. ------------
  178. grayscale -> turn grayscale viewing for JPEGs on/off
  179.  
  180. quantize    -> turn 2 pass quantizer on/off
  181.  
  182. dithering    -> turn JPEG dithering on/off
  183.  
  184.  
  185.  
  186. Memory requirements
  187. -------------------
  188.   GIF viewing typically requires 190,000 bytes.
  189.   JPEGs take 174,000 + X size * 144  (X size is the width of the picture)
  190.  
  191.   If the image is going to be panned then even more memory (EMS, XMS, ..)
  192.   is required.  In the case of 640 * 480 picture in a 15/16 bit mode
  193.   (ie hi-color) then another 1M of memory is required.  If this can not
  194.   be found the program will use temporary files on the harddrive (slow).
  195.   Extra memory for panning is simply:  X size * Y size * bytes per pixel.
  196.      Where 16, 256 color is 1 byte/pixel
  197.          15/16 bit are 2 bytes/pixel
  198.          24 bit is 3 bytes/pixel
  199.  
  200. Memory Problems with JPEGs
  201. --------------------------
  202.   If you are running out of memory then most likely it is
  203.   the 'low' or below 640k memory.  You will have to remove some drivers or
  204.   other items that are using the lower memory.  One way to free up a bit of
  205.   memory (and speed up viewing) in DVPEG for JPEGs is to:
  206.  - under F7, reduce the buffer to 4k (default is 16k)
  207.  - use the 1 pass quantizer or Greyscale
  208.  - turn off the panning (you can still shrink the image as it shows)
  209.  
  210. Video Problems
  211. --------------
  212.   1) Only 256 color, hi-color (15/16 bit) and true-color (24 bit) video cards
  213.     are supported.  16 color (VGA) is supported as 16 shades of gray only.
  214.   2) CGA, Hercules and anything less than 16 colors is not supported
  215.   3) If your video card is not supported use a VESA TSR or driver.
  216.   4) If you find the vidsetup.exe program hard to use:
  217.   4.1) delete the dvpeg.cfg file, if it was created
  218.   4.2) run DVPEG
  219.   4.3) If you have problems with pictures not showing properly:
  220.    Run VIDSETUP.exe and
  221.    hit enter twice, arrow to video modes which your card does not
  222.    work with; delete them; hit ESC twice and type Y to save the data
  223.      I am sorry but that is about as easy as it gets
  224.   5) If no images appear on the screen then chances are that the at least
  225.    one of the video modes in the list is not supported by the video card
  226.    you have.  Use vidsetup to test the modes and delete the offending
  227.    one from the list.
  228.    Vidsetup.exe does not have a clue which video modes are supported by
  229.    a certain video card and this is the cause of many problems.
  230.  
  231.  
  232. To find out about options, hit F1 at any time.
  233.  
  234. Check the read.me file for detailed information about vidsetup.exe, dvpeg.exe,
  235. dvpeg286.exe
  236.  
  237. Basically:
  238.  vidsetup.exe  - allows setting of defaults for the viewer (dvpeg) and
  239.     testing of video modes
  240.  dvpeg.exe     - 386/486 viewer
  241.  dvpeg286.exe  - 286 viewer
  242.  dvpeg-re.exe  - 386 JPEG/GIF (only) viewer with reduced features
  243.  
  244. The JPEG conversion code came from the Independant JPEG Group (more
  245.   info is in the source code file) and a lot of the video drivers came from
  246.   the vgakit41.zip.  Their code was free so this is as well.
  247.  
  248. Please send any comments / suggestions to praetzel@sunee.uwaterloo.ca
  249.  
  250. P.S.  Many thanks to my beta testers and those who shared their knowledge.
  251.       I would also like to thank Tom Lane and the IJG along with various
  252.       people who have compiled video information (VGAKIT, VGADOC) that is on
  253.       most big sites.
  254.  
  255. - Eric (praetzel@sunee.uwaterloo.ca)
  256.  
  257.  
  258. ******************************************************************************
  259.  
  260. Any video card with a VESA driver (TSR or built into the BIOS) should work.
  261. You can get VESA drivers for many video cards from the mfg. of the card or
  262. use a shareware "universal" VESA driver.  One such driver is univbe which
  263. can be found on oak.oakland.edu or wuarchive.wustl.edu in msdos/graphics
  264. as univbe??.zip
  265.  
  266. Not all cards from a Mfg will support all of these modes.  In most cases you
  267. will need 1 Meg of video ram for the hi resolution modes and some modes (like
  268. the hi_color ones) are recent additions and only supported by the most recent
  269. cards sold.  To test a certain mode on your video card/moniter setup use
  270. vidsetup.exe  Usually if the mode is not supported the video card locks up
  271. and you can't get back to the text screen.  The only solution is to reset
  272. the computer.
  273.  
  274. Run vidsetup for a complete list of video modes.
  275. Note:  They are not all tested.
  276. Here is a list of some video cards supported:
  277.  
  278.  
  279.  
  280. Diamond SpeedStar 24X, Paradise, WD compatable cards
  281. ----------------------------------------------------
  282.  
  283. ** All modes for this card have to be added by hand.  The card is not
  284. **   automatically detected.
  285.  
  286. All modes for this card should be supported.
  287.  
  288. =============================================================================
  289.  
  290. S3 based cards
  291. --
  292.  
  293. ** All modes for this card have to be added by hand.  The card is not
  294. **   automatically detected.  There are at least three different 24 bit
  295. **   modes being used by versions of video cards with the S3 chips.
  296.  
  297. =============================================================================
  298.  
  299. AHEAD (A & B chipsets)
  300. -----
  301.  
  302. ===============================================================================
  303.  
  304. ATI
  305. ---
  306.  
  307. ===============================================================================
  308.  
  309. CHIPS & TECH
  310. ------------
  311.  
  312. ===============================================================================
  313.  
  314. EVEREX
  315. ------
  316.  
  317. ===============================================================================
  318.  
  319. OAK TECH
  320. --------
  321.  
  322. ===============================================================================
  323.  
  324. GENOA GVGA
  325. ----------
  326.  
  327. ===============================================================================
  328.  
  329. NCR
  330. ---
  331.  
  332. ===============================================================================
  333.  
  334. PARADISE
  335. --------
  336.  
  337. 1M card is also supported seperately.  These have to be added by hand with
  338. vidsetup.exe  Do not allow the autodetection program to run (ie hit N to
  339. avoid it when you run vidsetup or else your BIOS setting may be destroyed).
  340.  
  341. ===============================================================================
  342.  
  343. TRIDENT
  344. -------
  345.  
  346. ===============================================================================
  347.  
  348. TRIDENT 8900
  349. ------------
  350.  
  351. ===============================================================================
  352.  
  353. TSENG  (Genoa, Orchid, Willow)
  354. -----
  355.  
  356. ===============================================================================
  357.  
  358. TSENG 4000
  359. ----------
  360.  
  361. ===============================================================================
  362.  
  363. VIDEO7
  364. ------
  365.  
  366. ===============================================================================
  367.  
  368. VESA
  369. ----
  370.